package com.bsoft.mapper.business;

import org.apache.ibatis.annotations.Select;

import java.util.Map;

public interface MedicareMapper {
    @Select("select * from v_gjyb_jsjl where PSN_NO=#{PSN_NO} and MDTRT_ID=#{MDTRT_ID} and SETL_ID=#{SETL_ID}")
    public Map<String, Object> getMedicarSettRecord(Map<String, Object> req);

    @Select("select * from hi_his_mi_logger where MDTRT_ID=#{MDTRT_ID} and  infno in('2207A','2207','2304A','S2101') and psn_no=#{PSN_NO} and  output like '%'|| #{SETL_ID} ||'%'  ")
    Map<String, Object> getMedicarLog(Map<String, Object> req);

    @Select("select get_uuid2() from dual")
    String getHisUUID2();

    int saveGJYBJSJL_MZ(Map<String, Object> gjybJsjlMzMap);

    int saveGJYBJSJL_GJ(Map<String, Object> gjybJsjlGjMap);

    int saveGJYBJSJL_ZY(Map<String, Object> gjybJsjlZyMap);

    int saveGJYBJSJL_FXXX_MZ(Map<String, Object> setldetailMap);

    int saveGJYBJSJL_FXXX_ZY(Map<String, Object> setldetailMap);

}
